#!/bin/sh
type -pa "$@" | head -n 1 ; exit ${PIPESTATUS[0]}
